#if defined CONFIG_RESOLVER
#ifndef BITSTREAM_H
#define BITSTREAM_H

typedef struct AVParser {
	const ms_string name;
	const ms_string longname;
	ms_void (*init)(ms_void ** ,ms_string ,ms_u32 ,void *, void *);	
	ms_s08 (*parse)(ms_void *,ms_byte *, ms_s32 *);
	ms_s32 (*update)(ms_void *);
	ms_s32 (*rebuild)(ms_void *,ms_byte *);	
	ms_void (*deinit)(ms_void **);
	struct AVParser *next;
} AVParser;

extern ms_void 
	bitStream_register_parser(void);
extern ms_void 
	msbitStream_api_info(ms_string    buf);
extern ms_void 
	msbitStream_api_init();
extern ms_string 
	msbitStream_api_version(ms_void);
#endif
#endif